import ch.vorburger.exec.ManagedProcessException;
import ch.vorburger.mariadb4j.DB;
import ch.vorburger.mariadb4j.DBConfigurationBuilder;

public class Run
{
    public static void main(String[] args) throws ManagedProcessException
    {
        DBConfigurationBuilder configBuilder = DBConfigurationBuilder.newBuilder();
        configBuilder.setPort(3306); // OR, default: setPort(0); => autom. detect free port
        configBuilder.setDataDir("dblocal"); // just an example
        DB db = DB.newEmbeddedDB(configBuilder.build());
        db.start();

    }
}
